const Router = require("koa-router");
const { create, find, search, update, destroy } = require("../controller/project");

const router = new Router({
  prefix: "/project",
});

router.post("/", create);
router.get("/search", search);
router.get("/find/:id", find);
router.put("/:id", update);
router.delete("/:id", destroy);

module.exports = router;
